import http from "@/api/index";
// 添加巡检任务
export function addInspectionPersonTask(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/addInspectionPersonTask`,
    method: "POST",
    data:data
  });
}
// 获取巡检点
export function getInspectionPersonList(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/getInspectionPersonList`,
    method: "POST",
    data:data
  });
}
// 获取巡检任务列表
export function getInspectionPersonTaskList(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/getInspectionPersonTaskList`,
    method: "POST",
    data:data
  });
}
// 获取巡检点列表
export function getInspectionTaskList(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/getInspectionPersonList`,
    method: "POST",
    data:data
  });
}
// 删除巡检任务
export function deleteInspectionPersonTaskt(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/deleteInspectionPersonTask`,
    method: "POST",
    data:data
  });
}

// 获取巡检人
export function getInspectionAccountList(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/getInspectionAccountList`,
    method: "POST",
    data:data
  });
}
// 添加智能巡检日志
export function addAutoCheckLog(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/addAutoCheckLog`,
    method: "POST",
    data:data
  });
}
// 添加智能巡检日志统计列表
export function getAutoCheckLogDateStat(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/getAutoCheckLogDateStat`,
    method: "POST",
    data:data
  });
}
// 添加智能巡检日志内容
export function getAutoCheckLog(data: Object): Promise<Object> {
  return http.request({
    url: `/inspection/data/getAutoCheckLog`,
    method: "POST",
    data:data
  });
}
